package cn.com.server.entity;

import java.io.Serializable;

/**
 * <p>
 * ProductDetail
 * </p>
 *
 * @author qing
 * @since 2017-11-15
 */
@SuppressWarnings("serial")
public class ProductDetail implements Serializable {


   /**
     * id
     */
	private Long id;
   /**
     * 商品id
     */
	private Long productMainId;
   /**
     * 仓库id
     */
	private Integer stockId;
   /**
     * 当前数量
     */
	private Double currentNum;
   /**
     * 当前价格
     */
	private Double currentPrice;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	public Long getProductMainId() {
		return productMainId;
	}

	public void setProductMainId(Long productMainId) {
		this.productMainId = productMainId;
	}
	public Integer getStockId() {
		return stockId;
	}

	public void setStockId(Integer stockId) {
		this.stockId = stockId;
	}
	public Double getCurrentNum() {
		return currentNum;
	}

	public void setCurrentNum(Double currentNum) {
		this.currentNum = currentNum;
	}
	public Double getCurrentPrice() {
		return currentPrice;
	}

	public void setCurrentPrice(Double currentPrice) {
		this.currentPrice = currentPrice;
	}

	@Override
	public String toString() {
		return "ProductDetail [id=" + id + ", productMainId=" + productMainId + ", stockId=" + stockId + ", currentNum="
				+ currentNum + ", currentPrice=" + currentPrice + "]";
	}
	
	
}